package kr.haggenna.reservation.dao;

import org.mybatis.spring.support.SqlSessionDaoSupport;
import org.springframework.stereotype.Component;

import kr.haggenna.reservation.domain.Seminar;

@Component
public class SeminarDaoImpl extends SqlSessionDaoSupport implements SeminarDao{

	@Override
	public Seminar getSeminarByNum(int seminar_num) {
		Seminar seminar = getSqlSession().selectOne("getSeminarByNum",seminar_num);
		return seminar;
	}

}
